{% extends 'BlogBundle::layout.html.twig' %}
{% block stylesheets %}
<link href="{{asset('bundles/blog/css/newBlog.css')}}" type="text/css" rel="stylesheet" />
{% endblock%}
{% block title %} Create your blog from Symfony2 {% endblock %}
{% block btcontent %}

{% if task is defined %}
<H3> {{ task }}</H3>
{% endif %}
<div class="ContentForm">
    <form action="{{path('BlogBundle_addNewBlog')}}" method="post" {{form_enctype(form)}}>
          {{form_label(form.title)}} : {{form_widget(form.title)}}
          {{form_label(form.content)}} : {{form_widget(form.content)}}
          {{form_rest(form)}}
          <input type="submit" value="Create Blog" />
    </form>
</div>
{%endblock %}